package homeWork.Object_Pra;

public class Car2 extends Vehicle2{
@Override
    public void move(){
        System.out.println("汽车正在公路上行驶");
    }

    public static void main(String[] args) {
        Car2 c = new Car2();
        c.move();
    }
}
